<h1>Links</h1>
<?php foreach ($template->getLinks() as $link): ?>
    <?php echo $link ?><br/>
<?php endforeach; ?>